import Vue from 'vue'
import VueRouter from 'vue-router'
import DataAnalysis from '../views/DataAnalysis.vue'
import Login from '@/components/Login.vue'
Vue.use(VueRouter)
const routes = [
  {
    path: '/',
    name: 'Login',
    component: Login
  },
  {
    path: '/data-analysis',
    name: 'DataAnalysis',
    component: DataAnalysis
  },
]
const router = new VueRouter({
  mode: 'history',
  routes
})

export default router